﻿using System.Runtime.Serialization;

namespace Toybox.NicoSharp.Live.LiveGuide
{
	using Primitives;

	partial class ZappingList
	{
		/// <summary>
		/// 放送中番組
		/// </summary>
		[DataContract]
		public class OnAirStream : AbstractLiveGuideStream
		{
			/// <summary>
			/// ゲージレベル
			/// </summary>
			[DataMember]
			public int gauge_level;

			/// <summary>
			/// 来場者数
			/// </summary>
			[DataMember]
			public string view_counter;

			/// <summary>
			/// コミュニティ
			/// </summary>
			[DataMember]
			public string default_community;

			/// <summary>
			/// 公式番組
			/// </summary>
			[DataMember]
			public bool is_product;

			/// <summary>
			/// ニコファーレ
			/// </summary>
			[DataMember]
			public bool is_farre;

			/// <summary>
			/// Zappingから隠す
			/// </summary>
			[DataMember]
			public bool hide_zapping;

			/// <summary>
			/// Nsen
			/// </summary>
			[DataMember]
			public bool is_nsen;

			/// <summary>
			/// サムネイル(小) URL
			/// </summary>
			[DataMember]
			public string thumbnail_small_url;
		}

		/// <summary>
		/// 予約番組
		/// </summary>
		[DataContract]
		public class ReservedStream : OnAirStream
		{
			/// <summary>
			/// 開始時間
			/// </summary>
			[DataMember]
			public int open_time;
		}
	}
}
